package com.bjx.generator.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @desc: 表信息实体
 * @author: liushuai
 * @date: 2022/9/11 20:57
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("gen_table_info")
@Schema(title = "TableInfoEntity",description = "表信息实体")
public class TableInfoEntity {
    /**
    * 表id
    */
    @TableId(type = IdType.AUTO)
    @Schema(title = "tableId",description = "表id")
    private Long tableId;

    /**
    * 表名称
    */
    @Schema(title = "tableName",description = "表名称")
    private String tableName;

    /**
    * 表类名
    */
    @Schema(title = "className",description = "类名称")
    private String className;

    /**
    * 描述名称
    */
    @Schema(title = "descName",description = "描述名称")
    private String descName;

    /**
    * 前端相对路径
    */
    @Schema(title = "frontEndPath",description = "前端相对路径")
    private String frontEndPath;

    /**
    * 后端相对路径
    */
    @Schema(title = "afterEndPath",description = "后端相对路径")
    private String afterEndPath;

    @Schema(title = "packagePath",description = "包路径")
    private String packagePath;

    @Schema(title = "params",description = "参数")
    private String params;

    @Schema(title = "author",description = "作者")
    private String author;


    @Schema(title = "modelName",description = "模块名称")
    private String modelName;
}